package edu.colorado.cs

// The client sends this message to the server to request input data.
// This message should be sent synchronously (with !!) so the execution
// doesn't continue without the data.
case class GetData()

// This message is sent by the server to the client. It contains a single
// input value of type Double.
case class Data(d: Double)

// This message is sent by the server to the client if the server is out
// of data to send clients.
case class NoData()

// This message is sent by the client to the server once a computation has
// been completed. It contains the input value and the output value as
// determined by the client.
case class Result(in: Double, out: Double)
